package com.ruoyi.common.config.runner;

import com.ruoyi.common.utils.RsaUtil;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author qinrui
 * @Description:启动运行类
 * @Date: 2020/9/16 15:19
 */
@Component
public class MyCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        RsaUtil.genKeyPair();
    }
}
